using System;

namespace InfoJetSoft.Service.ManagedCode
{
	/// <summary>
	/// Summary description for Date.
	/// </summary>
	public class Date : Microsoft.Office.Interop.InfoPath.SemiTrust.DateObject
	{

		public object Now()
		{
			return DateTime.Now.ToString( "yyyy-MM-dd'T'HH:mm:ss" );
		}

		public object Today()
		{
			return DateTime.Now.ToString( "yyyy-MM-dd" );
		}

	}
}
